package com.tjetc.service;

import java.util.List;

import com.tjetc.domian.Admin;
import com.tjetc.vo.Result;

public interface AdminService {
    Result login(Admin admin);

    Result add(Admin admin);

    Result update(Admin admin);

    List<Admin> list();

    Result  delete(int id);

    List<Admin> findByUsernameLike(String username);
}
